package com.hlf.modules.api.quartz;


import com.hlf.modules.api.service.QueueService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/11/4.
 */
@Component
public class QueueQuartz {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    private QueueService queueService;

    /**
     * 每天更新排队队列
     */
    public void dailyNum(){
        logger.debug("------------------------->执行排队号定时任务!");
        queueService.dailiDelete();
    }


}


